﻿namespace 原型模式
{
    /// <summary>
    /// 原型类通用接口
    /// </summary>
    internal interface IPrototype<T> where T : class
    {
        /// <summary>
        /// 深拷贝
        /// </summary>
        /// <returns></returns>
        T DeepCopy();

        /// <summary>
        /// 浅拷贝
        /// </summary>
        /// <returns></returns>
        T ShallowCopy();
    }
}